github.com/refraction-networking/utls.Config.time (method)
18 uses
github.com/refraction-networking/utls (current package)
common.go#L966: key.created = c.time()
common.go#L1096: if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation {
common.go#L1106: if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation {
common.go#L1115: if c.time().Sub(k.created) < ticketKeyLifetime {
common.go#L1160: func (c *Config) time() time.Time {
handshake_client.go#L455: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L494: if c.config.time().After(time.Unix(int64(session.useBy), 0)) {
handshake_client.go#L535: ticketAge := c.config.time().Sub(time.Unix(int64(session.createdAt), 0))
handshake_client.go#L1152: CurrentTime: c.config.time(),
handshake_client.go#L1188: CurrentTime: c.config.time(),
handshake_client_tls13.go#L364: ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
handshake_client_tls13.go#L1065: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
handshake_server.go#L484: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server.go#L520: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L938: CurrentTime: c.config.time(),
handshake_server_tls13.go#L388: if c.config.time().Sub(createdAt) > maxSessionTicketLifetime {
handshake_server_tls13.go#L408: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
ticket.go#L297: createdAt: uint64(c.config.time().Unix()),
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |